package com.zhang.constants;

public interface WebConstant {


    /**
     * 服务器内部异常code
     */
    public static final int INTERNAL_SERVER_ERROR_500 = 500;


    /**
     * 服务器成功响应code
     */
    public static final int OK_200 = 200;


    /**
     * 206响应码
     */
    public static final int Partial_206 = 206;


    /**
     * 401 需要授权
     */
    public static final int Need_Login_401 = 401;


    /**
     * 403 禁止访问
     */
    public static final int Forbidden_403 = 403;

    /**
     * 异常类型
     */
    public static final String EXCEPTION_TYPE = "EXCEPTION_TYPE";

    /**
     * api异常类型
     */
    public static final String API_EXCEPTION = "API_EXCEPTION";

    /**
     * 认证异常类型
     */
    public static final String AUTHENTICATION_EXCEPTION = "AUTHENTICATION_EXCEPTION";


    /**
     * 错误信息标识
     */
    public static final String EXCEPTION_MESSAGE = "EXCEPTION_MESSAGE";


    public static final String PAGE_NUM = "pageNum";

    public static final String PAGE_SIZE = "pageSize";







}
